package com.dp.demo.service.contraller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: dupeng
 * @CreateTime: 2024-12-10  16:38
 * @Description: TODO
 */
@RestController
@Slf4j
@RequestMapping(value = "/goods")
public class GoodsController {

    @PostMapping
    public String testGoods() throws InterruptedException {
        Thread.sleep(500);
        log.info("testGoods");
        System.out.println("testGoods");
        return "testGoods";
    }


}
